<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div class="page-content">
	<div class="row">
		<div id="pageContents" class="col-xs-12">
	
			<div class="row-fluid sortable">
				<div class="box span12">
					<div class="widget-box">
						<div class="widget-header">
							<h5><i class="icon-edit"></i>编辑版块</h5>
			
							<div class="widget-toolbar">
							<a href="admin!toEditUI?section.sid=${list.sid }"  class="reload">
							<i class="icon-refresh"></i>
							</a>
								<a href="#" data-action="collapse">
									<i class="icon-chevron-up"></i>
								</a>
			
								<a href="#" data-action="close">
									<i class="icon-remove"></i>
								</a>
							</div>
						</div>
			
						<div class="widget-body">
							<div class="widget-main">
								<div class="box-content">
									<form class="form-horizontal" id="editForm" action="" method="POST">
									<input name="section.sid" type="hidden" value="${list.sid}">
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" >版主</label>
										<div class="col-sm-9">
										<select class="input-xlarge" name="uid" >
										<s:iterator var="u" value="users">
										<option value="${u.uid }">${u.uname }</option >
										</s:iterator>
										</select>
											<span class="help-inline">选择版主</span>
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1">版块名称</label>
										<div class="col-sm-9">
											<input type="text" name="section.sname"  value="${list.sname}" class="input-xlarge" />
											<span class="help-inline">中文或英文</span>
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-select-2">版块简介</label>
										<div class="col-sm-9">
										<input class="input-xlarge" id="section_profile" maxlength="100" name="section.sprofile" size="60" type="text" value="${list.sprofile}" />
											<span class="help-inline">中文或英文</span>
										</div>
									</div>
										
										<div class="form-actions" style="padding-left: 400px;">
										<a href="admin!update" class="ajax-command btn btn-primary" id="commit">提交</a>
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>	
				</div>
				<!--/span-->
			</div>
			<!--/row-->
		</div><!-- /.col -->
	</div><!-- /.row -->
</div><!-- /.page-content -->

<script type="text/javascript" src="${pageContext.request.contextPath}/backadmin/static/js/admin/admin.js"></script>

